home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 June / EnigmA AMIGA RUN 19 (1997)(G.R. Edizioni)(IT)[!][issue 1997-06][EAR-CD III].iso / shape_files / shapedisk01.ssf / Comms / Modem Server 1.0.1 / Writing Modem Drivers < prev   
Text File  |  1997-01-03  |  2KB  |  53 lines

  1. Writing modem drivers for Pancake or Modem Server.
  2.  
  3. Just add a STR# resource to the application with id 1000+number of driver (make sure there are no gaps in the sequence from 1000 to your id).  Name the resource the class of modem your driver is meant for.
  4.  
  5. Put the following information in the STR# resource.
  6.  
  7. 1. InitStr
  8.  
  9. The initalization string sent to the modem
  10.  
  11. 2. ChangeSpeed
  12.  
  13. YES or NO, if the speed the modem talks to the computer is locked put NO, else put YES.
  14. Not currently implemeted in Pancake or Modem Server. (Always locked)
  15.  
  16. 3.  HWOn
  17.  
  18. Concatenated to the end of the init string if HW Handshaking is On.
  19. Not currently implemeted in Pancake or Modem Server.
  20.  
  21. 4.  HWOff
  22.  
  23. Concatenated to the end of the init string if HW Handshaking is Off.
  24. Not currently implemeted in Pancake or Modem Server.
  25.  
  26. 5.  DtrOn
  27.  
  28. Concatenated to the end of the init string if DTR Hangup is On.
  29. Not currently implemeted in Pancake or Modem Server.
  30.  
  31. 6.  DtrOff
  32.  
  33. Concatenated to the end of the init string if DTR Hangup is Off.
  34. Not currently implemeted in Pancake or Modem Server.
  35.  
  36. 7.  Answer
  37.  
  38. String sent to modem to answer the phone call
  39.  
  40. 8.  HangupStr
  41.  
  42. String sent to modem to hangup the phone call.  To delay one second use tilda "~" characters.
  43.  
  44. 9.  Quit
  45.  
  46. String sent to modem when application is quit.
  47.  
  48. Try to put the right information in the fields not yet implemented, because they will most likely be implemented in the future, and your driver then won't work.
  49.  
  50. Send any drivers you write to ferrari@izzy.com, and i'll add them to future releases of both Pancake and Modem Server.
  51.  
  52. If Pancake of Modem Server keeps cycling, initalizing the modem, and then hanging up, then you probably don't have the carrier detect reporting in the modem set up right.  Modem Server sees carrier detect so it hangs up and re-inits, but it doesn't go away.  Make sure you have a modem cable with HWHS, and Carrier Detect (same cable used in all BBS systems).  Try a &C1 in the InitStr.
  53.